package demo1;

public class Test {
    public static void main(String[] args) {
        MyArraylist myArraylist = new MyArraylist();
        myArraylist.add(1);
        myArraylist.add(2);
        myArraylist.add(3);
        myArraylist.add(5);
        myArraylist.display();
        myArraylist.resize();
        myArraylist.remove(4);

        myArraylist.display();
        myArraylist.clear();
        myArraylist.display();


    }
}
